﻿using MDT.LifeSewagePlatform.Conmmon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MDT.LifeSewagePlatform.Entity
{
    public class RegionParameter: BaseParameter
    {
        public RegionParameter()
        {
            ParentId = -1;
            Id = -1;
            Type = 1;
        }
        public string Name { get; set; }
        public int ParentId { get; set; }
        public int Id { get; set; }
        public int Type { get; set; }
        public bool IsNull()
        {
            if (string.IsNullOrEmpty(Name)&&Id==-1&&ParentId==-1)
            {
                return true;
            }
            return false;
        }
    }
}
